#ifndef __GLSTRING_H__
#define __GLSTRING_H__
#ifdef __APPLE__
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif

class GLString {
	private:
		enum {FONTS_NUM = 7,};
		static void* mFonts[FONTS_NUM];
		static float red, green, blue, alpha;
		static int mCurFont;

	public:
		static void SetColor(float r, float g, float b, float a = 1.0f);
		static void SelectFont(int font);

		static void Print(float x, float y, float z, const std::string& text);

		static void Print2D(float x, float y, const std::string& text);
};



#endif //__GLSTRING_H__
